package com.lovo.pis.constant;


public enum MessageCode {
    SUCCESS("请求成功","000000"),
    ERROR("服务器错误，请联系管理员","999999"),
    PARAM_ERROR("参数异常","000002"),
    ACCOUNT_OR_PASSWORD_ERROR("账号密码错误","000001"),

    ;
    private String message;
    private String code;

    MessageCode(String message, String code) {
        this.message = message;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public String getCode() {
        return code;
    }
}
